import { createRouter,createWebHistory,RouteRecordRaw } from "vue-router";

const routes:Array<RouteRecordRaw>=[
    {
        path:"/",
        component:()=>import("../components/HelloWorld.vue")
    },
    {
        path:"/Register",
        component:()=>import("../components/Register.vue")
    },
    {
        path:"/Ulogin",
        component:()=>import("../components/Ulogin.vue")
    },
]

const Routers=createRouter(
    {
        history:createWebHistory(),
        routes
    }
)
export default Routers